Setting the Local IP

By default, the local cluster’s IP addresses are bound to 127.0.0.1. If you want to use a specific machine’s IP address, you need to change two environment variables.

If you have already set up a cluster, you first need to stop the services and clear all current configuration information.

  1. Stop the cluster.

  2. From your preferred Unix shell, uninstall and clean the services.

genvid-bastion uninstall -c

Once any old configuration information is cleared, open a Windows command prompt.

  1. Set GENVID_DEFAULT_IP to the visible IP of the machine.

  2. Set the CONSUL_HTTP_ADDR to the same IP.

    set GENVID_DEFAULT_IP=123.123.123.123
    set CONSUL_HTTP_ADDR=123.123.123.123:8500
    
  3. From your Unix shell, restart the cluster.

    genvid-bastion install -umlb {mybastion}